#!/usr/bin/env python

import sys

gui = True
debugging = True
debugBinary = False
debugHex = False
debugQueries = False
scrapeGameList = False
realm = "uswest.battle.net"


commands = sys.argv

write = []
read = []
error = []

db = {}

db['master'] = {}
db['master']['main'] = {
	"host": "",
	"user": "",
	"pass": "",
	"db": "",
	"prefix": "bnet_"
}

db['slave'] = {}
db['slave']['main'] = {
	"host": "",
	"user": "",
	"pass": "",
	"db": "",
	"prefix": "bnet_"
}

ip = [
	"127.0.0.1"
]

def isCommand(command):
	for i in range(len(commands)):
		if commands[i] == '-' + command:
			return commands[i+1]
	
	return False